package com.supcon.exchangedata.repository.master;

import com.supcon.exchangedata.pojo.entity.oracle.BusRouteStationKeys;
import com.supcon.exchangedata.pojo.entity.oracle.CtBusRouteStation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

public interface MasterBusRouteInfoStationRepository extends JpaRepository<CtBusRouteStation, BusRouteStationKeys>,MasterBusRoutesStationRepository{

    @Transactional
    @Modifying
    @Query(nativeQuery = true,value = "delete from CT_BUS_ROUTE_STATION")
    public void deleteAll();
}
